//
//  SearchResultCell.h
//  CandyCrushClone
//
//  Created by Petar on 2/25/15.
//  Copyright (c) 2015 Nestorov Engineering. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SearchResultCellDelegate <NSObject>

- (void)didPressAddButtonAtIndexPath:(NSIndexPath *)indexPath;

@end


@interface SearchResultCell : UITableViewCell

@property (weak, nonatomic) id <SearchResultCellDelegate> delegate;


- (void)configureWithName:(NSString *)username andBuddyList:(NSMutableArray *)buddyListNames andMyUsername:(NSString *)myUsername forIndexPath:(NSIndexPath *)indexPath;

@end
